package com.wty.cmims.service;

import com.wty.cmims.pojo.InstitutionMedication;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wty.cmims.pojo.ResponseResult;

import java.util.Map;

/**
* @author wty
* @description 针对表【institution_medication】的数据库操作Service
* @createDate 2024-12-10 23:14:44
*/
public interface InstitutionMedicationService extends IService<InstitutionMedication> {

    ResponseResult<Map<String, Object>> findIMByInstitutionId(Map<String,Object> paramsMap);

    ResponseResult<Void> updateIMStock(Map<String, Object> paramsMap);

    ResponseResult<Void> addIM(Map<String, Object> paramsMap);
    ResponseResult<Void> deleteIM(Integer institutionId, Integer medicationId);
}
